import service from "../utiles/request";

//获取用户列表
export function personnel_list(payload = {}){
    return service.get('/personnel_list',{params:payload})
}
//添加一个用户信息
export function personnel_add(payload = {}){
    return service.post('/personneladd',payload)
}

//删除一个用户信息
export function personnel_delete(payload:any = {}){
    return service.get('/personnelDelete/'+payload.personnel_id,payload)
}

//编辑一个用户信息
export function personnel_bianji(payload:any = {}){
    return service.post('/personnelUpdate',payload)
}

